// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
// PRETTY_RENDERER_OPTION: FULLY_EXPANDED_TYPES
@Target(AnnotationTarget.TYPE)
annotation class Anno1
@Target(AnnotationTarget.TYPE)
annotation class Anno2
@Target(AnnotationTarget.TYPE)
annotation class Anno3

typealias FirstTypeAlias = @Anno1 (() -> Unit)
typealias SecondTypeAlias = @Anno2 FirstTypeAlias

fun f<caret>oo(): @Anno3 SecondTypeAlias = {}
